/*
 * John Quinn
 * Lindsey Sansone
 * Robert Wirthman
 * character.cpp
 * 2/26/12
*/
#include <iostream>
#include "location.h"
#include "character.h"
using namespace std;
Character::Character(int x,int y,int h,int s) : position(x,y)
{
  setHealth(h);
  setSpeed(s);
}
Location Character::getPosition() const
{
  return position;
}
int Character::getHealth() const
{
  return health;
}
int Character::getSpeed() const
{
  return speed;
}
void Character::setPosition(Location p)
{
  position = p;
}
void Character::setHealth(int h)
{
  health=h;
}
void Character::setSpeed(int s)
{
  speed=s;
}
